package com.example.spring.statmachine.example;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zhangwenxue
 */
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.example.spring.statmachine.example.mapper")
public class SpringStatmachineExampleApplication {

	public static final Logger logger = LoggerFactory.getLogger(SpringStatmachineExampleApplication.class);


	public static void main(String[] args) {
		SpringApplication.run(SpringStatmachineExampleApplication.class, args);
		logger.info("SpringStatmachineExampleApplication service init success");
	}

}
